﻿// ===============================================================================
// DotNet.Platform 开发框架 2016 版权所有
// ===============================================================================
using System;
using DotNet.Entity;
using System.ComponentModel.DataAnnotations;

namespace DotNet.JCore.Entity
{
    /// <summary>
	/// 检票主表
	/// </summary>
	[Table("检票主表")]
    public class TicketCheckSum
    {
        #region Model
        private long _syn_id;
        private long _id;
        private int? _lineid;
        private string _linename;
        private DateTime _clasdate;
        private int? _clasid;
        private string _clastime;
        private string _bustype;
        private int? _gate;
        private string _gatename;
        private int _ownerstation;
        private string _ownerstationname;
        private DateTime? _outtime;
        private bool _isadd;
        private bool _isfree;
        private int? _bus;
        private string _buscode;
        private int _seatcount;
        private int? _maxseats;
        private int? _ownercomp;
        private string _ownercompname;
        private int? _balancecomp;
        private string _balancecompname;
        private int? _driver1;
        private string _driver1name;
        private int? _driver2;
        private string _driver2name;
        private string _driver1idcard;
        private string _driver2idcard;
        private string _driver1tel;
        private string _driver2tel;
        private string _driver1dno;
        private string _driver2dno;
        private DateTime? _driver1dnoend;
        private DateTime? _driver2dnoend;
        private string _driver1qno;
        private string _driver2qno;
        private DateTime? _driver1qnoend;
        private DateTime? _driver2qnoend;
        private DateTime? _driver1checkdate;
        private DateTime? _driver2checkdate;
        private decimal? _amount;
        private int? _ticketcount;
        private int? _handcount;
        private int? _checkcount;
        private int? _salecount;
        private decimal? _handmoney;
        private decimal? _bagmoney;
        private decimal? _checkfee;
        private decimal? _sanifee;
        private decimal? _stopfee;
        private int? _oper;
        private string _opername;
        private DateTime? _optime;
        private int? _printer;
        private string _printername;
        private DateTime? _printtime;
        private int? _disuser;
        private string _disusername;
        private DateTime? _distime;
        private int? _ismaster;
        private int? _masterid;
        private int? _printcount;
        private string _notes;
        private decimal? _agentrate;
        private decimal? _packmoney;
        private int? _orgid;
        private decimal? _balancemoney;
        private string _clascode;
        private string _qx;
        private int? _outnum;
        private decimal? _outmoney;
        private int? _outoperid;
        private string _outopername;
        private int? _checkchildnum;
        private int? _checkcerid;
        private int? _is_syn;
        private DateTime? _syn_time;
        private int? _checkstatus = 0;
        /// <summary>
        /// 中心ID
        /// </summary>
        [PrimaryKey]
        [Column("主键", false)]
        public long Syn_ID
        {
            set { _syn_id = value; }
            get { return _syn_id; }
        }
        /// <summary>
        /// 站下ID
        /// </summary>
        public long ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 线路ID
        /// </summary>
        public int? LineID
        {
            set { _lineid = value; }
            get { return _lineid; }
        }
        /// <summary>
        /// 线路名
        /// </summary>
        public string LineName
        {
            set { _linename = value; }
            get { return _linename; }
        }
        /// <summary>
        /// 班次日期
        /// </summary>
        public DateTime ClasDate
        {
            set { _clasdate = value; }
            get { return _clasdate; }
        }
        /// <summary>
        /// 班次ID
        /// </summary>
        public int? ClasID
        {
            set { _clasid = value; }
            get { return _clasid; }
        }
        /// <summary>
        /// 班次时间
        /// </summary>
        public string ClasTime
        {
            set { _clastime = value; }
            get { return _clastime; }
        }
        /// <summary>
        /// 车型
        /// </summary>
        public string BusType
        {
            set { _bustype = value; }
            get { return _bustype; }
        }
        /// <summary>
        /// 检票口ID
        /// </summary>
        public int? Gate
        {
            set { _gate = value; }
            get { return _gate; }
        }
        /// <summary>
        /// 检票口
        /// </summary>
        public string GateName
        {
            set { _gatename = value; }
            get { return _gatename; }
        }
        /// <summary>
        /// 所属站场ID
        /// </summary>
        public int OwnerStation
        {
            set { _ownerstation = value; }
            get { return _ownerstation; }
        }
        /// <summary>
        /// 所属站场
        /// </summary>
        public string OwnerStationName
        {
            set { _ownerstationname = value; }
            get { return _ownerstationname; }
        }
        /// <summary>
        /// 离站时间
        /// </summary>
        public DateTime? OutTime
        {
            set { _outtime = value; }
            get { return _outtime; }
        }
        /// <summary>
        /// 加班
        /// </summary>
        public bool IsAdd
        {
            set { _isadd = value; }
            get { return _isadd; }
        }
        /// <summary>
        /// 是否流水
        /// </summary>
        public bool IsFree
        {
            set { _isfree = value; }
            get { return _isfree; }
        }
        /// <summary>
        /// 报班车辆ID
        /// </summary>
        public int? Bus
        {
            set { _bus = value; }
            get { return _bus; }
        }
        /// <summary>
        /// 报班车号
        /// </summary>
        public string BusCode
        {
            set { _buscode = value; }
            get { return _buscode; }
        }
        /// <summary>
        /// 车辆座位数
        /// </summary>
        public int SeatCount
        {
            set { _seatcount = value; }
            get { return _seatcount; }
        }
        /// <summary>
        /// 最大座位数
        /// </summary>
        public int? MaxSeats
        {
            set { _maxseats = value; }
            get { return _maxseats; }
        }
        /// <summary>
        /// 营运单位ID
        /// </summary>
        public int? OwnerComp
        {
            set { _ownercomp = value; }
            get { return _ownercomp; }
        }
        /// <summary>
        /// 营运单位
        /// </summary>
        public string OwnerCompName
        {
            set { _ownercompname = value; }
            get { return _ownercompname; }
        }
        /// <summary>
        /// 结算单位ID
        /// </summary>
        public int? BalanceComp
        {
            set { _balancecomp = value; }
            get { return _balancecomp; }
        }
        /// <summary>
        /// 结算单位
        /// </summary>
        public string BalanceCompName
        {
            set { _balancecompname = value; }
            get { return _balancecompname; }
        }
        /// <summary>
        /// 司机1id
        /// </summary>
        public int? Driver1
        {
            set { _driver1 = value; }
            get { return _driver1; }
        }
        /// <summary>
        /// 司机1
        /// </summary>
        public string Driver1Name
        {
            set { _driver1name = value; }
            get { return _driver1name; }
        }
        /// <summary>
        /// 司机2id
        /// </summary>
        public int? Driver2
        {
            set { _driver2 = value; }
            get { return _driver2; }
        }
        /// <summary>
        /// 司机2
        /// </summary>
        public string Driver2Name
        {
            set { _driver2name = value; }
            get { return _driver2name; }
        }
        /// <summary>
        /// 驾驶员1身份证号
        /// </summary>
        public string Driver1IDCard
        {
            set { _driver1idcard = value; }
            get { return _driver1idcard; }
        }
        /// <summary>
        /// 驾驶员2身份证号
        /// </summary>
        public string Driver2IDCard
        {
            set { _driver2idcard = value; }
            get { return _driver2idcard; }
        }
        /// <summary>
        /// 驾驶员1电话
        /// </summary>
        public string Driver1Tel
        {
            set { _driver1tel = value; }
            get { return _driver1tel; }
        }
        /// <summary>
        /// 驾驶员2电话
        /// </summary>
        public string Driver2Tel
        {
            set { _driver2tel = value; }
            get { return _driver2tel; }
        }
        /// <summary>
        /// 驾驶证号1
        /// </summary>
        public string Driver1DNO
        {
            set { _driver1dno = value; }
            get { return _driver1dno; }
        }
        /// <summary>
        /// 驾驶证号2
        /// </summary>
        public string Driver2DNO
        {
            set { _driver2dno = value; }
            get { return _driver2dno; }
        }
        /// <summary>
        /// 驾驶证截止日期1
        /// </summary>
        public DateTime? Driver1DNOEnd
        {
            set { _driver1dnoend = value; }
            get { return _driver1dnoend; }
        }
        /// <summary>
        /// 驾驶证截止日期2
        /// </summary>
        public DateTime? Driver2DNOEnd
        {
            set { _driver2dnoend = value; }
            get { return _driver2dnoend; }
        }
        /// <summary>
        /// 资格证号1
        /// </summary>
        public string Driver1QNO
        {
            set { _driver1qno = value; }
            get { return _driver1qno; }
        }
        /// <summary>
        /// 资格证号2
        /// </summary>
        public string Driver2QNO
        {
            set { _driver2qno = value; }
            get { return _driver2qno; }
        }
        /// <summary>
        /// 资格证号1截止日期
        /// </summary>
        public DateTime? Driver1QNOEnd
        {
            set { _driver1qnoend = value; }
            get { return _driver1qnoend; }
        }
        /// <summary>
        /// 资格证号1截止日期
        /// </summary>
        public DateTime? Driver2QNOEnd
        {
            set { _driver2qnoend = value; }
            get { return _driver2qnoend; }
        }
        /// <summary>
        /// 驾驶证1年审日期
        /// </summary>
        public DateTime? Driver1CheckDate
        {
            set { _driver1checkdate = value; }
            get { return _driver1checkdate; }
        }
        /// <summary>
        /// 驾驶证2年审日期
        /// </summary>
        public DateTime? Driver2CheckDate
        {
            set { _driver2checkdate = value; }
            get { return _driver2checkdate; }
        }
        /// <summary>
        /// 总金额
        /// </summary>
        public decimal? Amount
        {
            set { _amount = value; }
            get { return _amount; }
        }
        /// <summary>
        /// 正检人数
        /// </summary>
        public int? TicketCount
        {
            set { _ticketcount = value; }
            get { return _ticketcount; }
        }
        /// <summary>
        /// 手工票数
        /// </summary>
        public int? HandCount
        {
            set { _handcount = value; }
            get { return _handcount; }
        }
        /// <summary>
        /// 检票总人数
        /// </summary>
        public int? CheckCount
        {
            set { _checkcount = value; }
            get { return _checkcount; }
        }
        /// <summary>
        /// 售票总人数
        /// </summary>
        public int? SaleCount
        {
            set { _salecount = value; }
            get { return _salecount; }
        }
        /// <summary>
        /// 手工票金额
        /// </summary>
        public decimal? HandMoney
        {
            set { _handmoney = value; }
            get { return _handmoney; }
        }
        /// <summary>
        /// 行包费
        /// </summary>
        public decimal? BagMoney
        {
            set { _bagmoney = value; }
            get { return _bagmoney; }
        }
        /// <summary>
        /// 安检费
        /// </summary>
        public decimal? CheckFee
        {
            set { _checkfee = value; }
            get { return _checkfee; }
        }
        /// <summary>
        /// 卫生费
        /// </summary>
        public decimal? SaniFee
        {
            set { _sanifee = value; }
            get { return _sanifee; }
        }
        /// <summary>
        /// 停车费
        /// </summary>
        public decimal? StopFee
        {
            set { _stopfee = value; }
            get { return _stopfee; }
        }
        /// <summary>
        /// 报班员ID
        /// </summary>
        public int? Oper
        {
            set { _oper = value; }
            get { return _oper; }
        }
        /// <summary>
        /// 报班员
        /// </summary>
        public string OperName
        {
            set { _opername = value; }
            get { return _opername; }
        }
        /// <summary>
        /// 报班时间
        /// </summary>
        public DateTime? OpTime
        {
            set { _optime = value; }
            get { return _optime; }
        }
        /// <summary>
        /// 打单员ID
        /// </summary>
        public int? Printer
        {
            set { _printer = value; }
            get { return _printer; }
        }
        /// <summary>
        /// 打单员
        /// </summary>
        public string PrinterName
        {
            set { _printername = value; }
            get { return _printername; }
        }
        /// <summary>
        /// 打单时间
        /// </summary>
        public DateTime? PrintTime
        {
            set { _printtime = value; }
            get { return _printtime; }
        }
        /// <summary>
        /// 作废人ID
        /// </summary>
        public int? DisUser
        {
            set { _disuser = value; }
            get { return _disuser; }
        }
        /// <summary>
        /// 作废人
        /// </summary>
        public string DisUserName
        {
            set { _disusername = value; }
            get { return _disusername; }
        }
        /// <summary>
        /// 作废时间
        /// </summary>
        public DateTime? DisTime
        {
            set { _distime = value; }
            get { return _distime; }
        }
        /// <summary>
        /// 是否主单
        /// </summary>
        public int? IsMaster
        {
            set { _ismaster = value; }
            get { return _ismaster; }
        }
        /// <summary>
        /// 主单号
        /// </summary>
        public int? MasterId
        {
            set { _masterid = value; }
            get { return _masterid; }
        }
        /// <summary>
        /// 打印次数
        /// </summary>
        public int? PrintCount
        {
            set { _printcount = value; }
            get { return _printcount; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Notes
        {
            set { _notes = value; }
            get { return _notes; }
        }
        /// <summary>
        /// 代理费率
        /// </summary>
        public decimal? AgentRate
        {
            set { _agentrate = value; }
            get { return _agentrate; }
        }
        /// <summary>
        /// 随人行包费
        /// </summary>
        public decimal? PackMoney
        {
            set { _packmoney = value; }
            get { return _packmoney; }
        }
        /// <summary>
        /// 原ID
        /// </summary>
        public int? OrgID
        {
            set { _orgid = value; }
            get { return _orgid; }
        }
        /// <summary>
        /// 结算额
        /// </summary>
        public decimal? BalanceMoney
        {
            set { _balancemoney = value; }
            get { return _balancemoney; }
        }
        /// <summary>
        /// 班次号
        /// </summary>
        public string Clascode
        {
            set { _clascode = value; }
            get { return _clascode; }
        }
        /// <summary>
        /// 去向（终点站）
        /// </summary>
        public string QX
        {
            set { _qx = value; }
            get { return _qx; }
        }
        /// <summary>
        /// 乘客人数
        /// </summary>
        public int? OutNum
        {
            set { _outnum = value; }
            get { return _outnum; }
        }
        /// <summary>
        /// 出站面额
        /// </summary>
        public decimal? OutMoney
        {
            set { _outmoney = value; }
            get { return _outmoney; }
        }
        /// <summary>
        /// 出站操作员ID
        /// </summary>
        public int? OutOperid
        {
            set { _outoperid = value; }
            get { return _outoperid; }
        }
        /// <summary>
        /// 出站操作员
        /// </summary>
        public string OutOpername
        {
            set { _outopername = value; }
            get { return _outopername; }
        }
        /// <summary>
        /// 检入免童数
        /// </summary>
        public int? CheckChildNum
        {
            set { _checkchildnum = value; }
            get { return _checkchildnum; }
        }
        /// <summary>
        /// 证检ID
        /// </summary>
        public int? CheckCerID
        {
            set { _checkcerid = value; }
            get { return _checkcerid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? IS_Syn
        {
            set { _is_syn = value; }
            get { return _is_syn; }
        }
        /// <summary>
        /// 同步时间
        /// </summary>
        public DateTime? Syn_Time
        {
            set { _syn_time = value; }
            get { return _syn_time; }
        }
        /// <summary>
        /// 稽查状态
        /// </summary>
        public int? CheckStatus
        {
            set { _checkstatus = value; }
            get { return _checkstatus; }
        }
        #endregion Model
        /// <summary>
        /// 复制对象
        /// </summary>
        public TicketCheckSum Clone()
        {
            return (TicketCheckSum)MemberwiseClone();
        }
    }
}
